#!/bin/bash

pushd /Users/dawes/work/dawes-papers/LPR

latex dawes_lpr.tex &&
bibtex dawes_lpr &&
latex dawes_lpr.tex &&
latex dawes_lpr.tex &&
latex dawes_lpr.tex &&
dvips -o dawes_lpr.ps dawes_lpr.dvi &&
ps2pdf dawes_lpr.ps &&

#
# remove inessential files
rm -f dawes_lpr.blg
rm -f dawes_lpr.bbl
rm -f dawes_lpr.aux
rm -f dawes_lpr.log
rm -f dawes_lpr.dvi
rm -f dawes_lpr.ps
#
acroread dawes_lpr.pdf 
